﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.LOD
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

using UnityEngine.Scripting;

#nullable disable
namespace UnityEngine
{
  /// <summary>
  ///   <para>Structure for building a LOD for passing to the SetLODs function.</para>
  /// </summary>
  [UsedByNativeCode]
  /// <summary>
  ///   <para>Construct a LOD.</para>
  /// </summary>
  /// <param name="screenRelativeTransitionHeight">The screen relative height to use for the transition [0-1].</param>
  /// <param name="renderers">An array of renderers to use for this LOD level.</param>
  public struct LOD(float screenRelativeTransitionHeight, Renderer[] renderers)
  {
    /// <summary>
    ///   <para>The screen relative height to use for the transition [0-1].</para>
    /// </summary>
    public float screenRelativeTransitionHeight = screenRelativeTransitionHeight;
    /// <summary>
    ///   <para>Width of the cross-fade transition zone (proportion to the current LOD's whole length) [0-1]. Only used if it's not animated.</para>
    /// </summary>
    public float fadeTransitionWidth = 0.0f;
    /// <summary>
    ///   <para>List of renderers for this LOD level.</para>
    /// </summary>
    public Renderer[] renderers = renderers;
  }
}
